<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/2/15
 * Time: 9:21
 */
echo $_GET['myname'];



?>

<a href="one.php?myname=xiaojiang">点击提交</a>

<form action="one.php" method="get">
    <input type="text" name="username">
    <input type="submit" value="提交">
</form>
